import { NgModule } from "@angular/core";
import { CommonModule } from "@angular/common";
import { FormsModule } from "@angular/forms";
import { RouterModule, Routes } from "@angular/router";
import { ValidationComponent } from "./validation.component";
import { FileUploadModule } from "ng2-file-upload";
import { ToasterModule } from "angular2-toaster";

const routes: Routes = [
    {
        path: '',
        component: ValidationComponent
    }
];

@NgModule({
    imports: [
        CommonModule,
        FormsModule,
        FileUploadModule,
        RouterModule.forChild(routes),
        ToasterModule.forRoot()
    ],
    declarations: [
        ValidationComponent
    ],
    exports: [
        RouterModule
    ]
})
export class ValidationModule { }